package com.kaigejava.iterator;

import lombok.Data;
import lombok.ToString;

/**
 * Created by kaigejava on 2019/9/6.
 * 菜单项对象
 */
@Data
@ToString
public class MenuItem {
    //菜单项名称、描述
    private String name,description;
    //是否素菜
    private boolean vegetable;
    //价格
    private float price;
    public MenuItem(String name,String description,boolean vegetable,float price)
    {
        this.name=name;
        this.description=description;
        this.vegetable=vegetable;
        this.price=price;

    }
}
